package com.flute.haflute.agent.heartbeat;

import org.apache.mina.core.service.IoHandlerAdapter;
import org.apache.mina.core.session.IoSession;

/**
 * DM的心跳发送处理器
 */
public class DMHeartBeatSender extends IoHandlerAdapter implements
		HeartBeatSender {

	/*
	 * @see com.flute.haflute.agent.HeartBeatSender#sendHeartBeat()
	 */
	@Override
	public void sendHeartBeat(IoSession session) {
	}

	@Override
	public void messageReceived(IoSession session, Object message)
			throws Exception {
	}

	@Override
	public void sessionClosed(IoSession session) throws Exception {
	}

	/*
	 * @see com.flute.haflute.agent.heartbeat.HeartBeatSender#isSuccessful()
	 */
	@Override
	public boolean isSuccessful() {
		return true;
	}

}
